home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="chrome://supertabmode/skin/stm.css" type="text/css"?>
- <?xml-stylesheet href="chrome://supertabmode/skin/button.css" type="text/css"?>
- <!DOCTYPE overlay SYSTEM "chrome://supertabmode/locale/stm.dtd">
- <overlay id="stm.overlay"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <script type="application/x-javascript" src="overlay.js"/>
- <script type="application/x-javascript" src="common.js"/>
-
- <stringbundleset>
- <stringbundle id="stm.stringmanager" src="chrome://supertabmode/locale/stm.properties" />
- </stringbundleset>
-
- <broadcasterset>
- <broadcaster id="b.historybutton" type="menu-button" oncommand="undoCloseTab();"/>
- </broadcasterset>
-
- <commandset id="mainCommandSet">
- <command id="cmd_managelist" oncommand="stmC.openListManager();"/>
- </commandset>
-
- <!-- Acesskey -->
- <window id="main-window">
- <keyset id="stm.Keyset">
- <key id="k.pageLock" oncommand="stmM.togglePL();" key="Z" modifiers="alt"/>
- <key id="k.block" oncommand="stmM.toggleBlock();" key="X" modifiers="alt"/>
- <key id="k.hideFF" oncommand="stmM.hideFirefox();" key="Q" modifiers=""/>
- <key id="k.closeRTabs" oncommand="stmM.closeByKey=true; stmM.closeRightTabs();" keycode="VK_RIGHT" modifiers="alt"/>
- <key id="k.closeLTabs" oncommand="stmM.closeByKey=true; stmM.closeLeftTabs();" keycode="VK_LEFT" modifiers="alt"/>
- </keyset>
- </window>
-
- <!-- Main Menu item -->
- <menubar id="main-menubar">
- <menu id="tabreopen-menu" label="&stm.tabreopen-menu.label;" accesskey="&stm.tabreopen-menu.accesskey;" insertafter="tools-menu,helpMenu">
- <menupopup id="tabreopen-popup" onpopupshowing="stmM.showHistoryMenuItems(this);"/>
- </menu>
- </menubar>
-
- <!-- Toolmenu item -->
- <menupopup id="menu_ToolsPopup">
- <menuitem id="stm.menuitem"
- label="&stm.label;"
- insertafter="devToolsSeparator"
- oncommand="stmM.openPrefDialog();"/>
- </menupopup>
-
- <!-- right-click context menu -->
- <popup id="contentAreaContextMenu">
- <menuitem id="stm.context-loadselect"
- insertbefore="context-searchselect"
- hidden="true"
- oncommand="stmM.loadSelectInTab();"/>
- </popup>
-
- <!-- Toolbar button -->
- <toolbarpalette id="BrowserToolbarPalette">
- <toolbarbutton id="stm-togglebutton"
- oncommand="stmM.onToolbarButtonClick();"
- label="&stm.toolbarbutton.label;"
- tooltiptext="&stm.toolbarbutton.tooltiptext;"
- class="toolbarbutton-1"/>
-
- <toolbarbutton id="stm-historybutton"
- label="&stm.historybutton.label;"
- tooltiptext="&stm.historybutton.tooltiptext;"
- class="toolbarbutton-1"
- observes="b.historybutton">
- <menupopup id="historybutton-popup" onpopupshowing="stmM.showHistoryMenuItems(this);"/>
- </toolbarbutton>
- </toolbarpalette>
-
- <!-- statusbar -->
- <statusbar id="status-bar">
- <statusbarpanel id="stm.statuspanel"
- class="statusbarpanel-iconic"
- onclick="stmM.onStatusbarIconClick(event);"
- tooltip="stm.tooltip"
- hidden="true"
- image="chrome://supertabmode/skin/stmbar16.png"/>
- </statusbar>
-
- <popupset id="mainPopupSet">
- <!-- statusbar popup menu -->
- <menupopup id="stm.popup" position="before_end" >
-
- <menuitem id="stm.blockOption" label="&block.blockOption;" type="checkbox" oncommand="stmM.toggleBlockType(9);"/>
- <menuseparator id="stm.smSepa2"/>
- <menuitem id="stm.blockScope0" label="&block.blockScope.0;" type="checkbox" oncommand="stmM.toggleBlockType(0);"/>
- <menuitem id="stm.blockScope1" label="&block.blockScope.1;" type="checkbox" oncommand="stmM.toggleBlockType(1);"/>
- <menuitem id="stm.blockScope2" label="&block.blockScope.2;" type="checkbox" oncommand="stmM.toggleBlockType(2);"/>
- <menuseparator id="stm.smSepa1"/>
- <menuitem id="stm.managelist" label="&stm.managelist.label;" command="cmd_managelist"/>
- <menuitem id="stm.keeppagelocked" label="&stm.keeppagelocked.label;" oncommand="stmM.addIntoList();"/>
- <menuseparator id="stm.smSepa0"/>
- <menuitem id="stm.exitpopupmenu" label="&stm.exitpopupmenu.label;" oncommand="stmM.onExitStatusbarIcon();"/>
- </menupopup>
-
- <!-- tab popup menu -->
- <menupopup>
- <menuitem id="stm.tabBlockScope0" label="&block.blockScope.0;" type="checkbox" oncommand="stmM.toggleBlockType(0);"/>
- <menuitem id="stm.tabBlockScope1" label="&block.blockScope.1;" type="checkbox" oncommand="stmM.toggleBlockType(1);"/>
- <menuitem id="stm.tabBlockScope2" label="&block.blockScope.2;" type="checkbox" oncommand="stmM.toggleBlockType(2);"/>
- <menuseparator id="stm.tmSepa2"/>
- <menuitem id="stm.tabBlockStopOnTabSwitch" label="&block.blockOption;" type="checkbox" oncommand="stmM.toggleBlockType(9);"/>
- <menuseparator id="stm.tmSepa1"/>
- <menuitem id="stm.tabpagelock0" label="&stm.tabpagelock.label;" oncommand="stmM.onTabMenuPageLockClick();" key="k.pageLock"/>
- <menuitem id="stm.tabpagelock1" label="&stm.keeppagelocked.label;" oncommand="stmM.onTabMenuAddIntoListClick();"/>
- <menuitem id="stm.tabpagelock2" label="&stm.managelist.label;" command="cmd_managelist"/>
- <menuseparator id="stm.tmSepa0"/>
- <menuitem id="stm.tCloseRTabs" label="&stm.closeRTabs.label;" oncommand="stmM.closeRightTabs();" key="k.closeRTabs"/>
- <menuitem id="stm.tCloseLTabs" label="&stm.closeLTabs.label;" oncommand="stmM.closeLeftTabs();" key="k.closeLTabs"/>
- </menupopup>
-
- <!-- tooltips -->
- <tooltip id="stm.tooltip" position="before_start" noautohide="true">
- <description value="&tooltip.popmenu.leftclick1;"/>
- <description value="&tooltip.popmenu.leftclick2;"/>
- <description value="&tooltip.popmenu.leftclick3;"/>
- </tooltip>
- </popupset>
-
- </overlay>
-
-
-